<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>UCARPP: includes/edgeID.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">UCARPP
   &#160;<span id="projectnumber">1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('edgeID_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">includes/edgeID.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="edgeID_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef EDGEID_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define EDGEID_H_</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00020"></a>00020 
<a name="l00021"></a><a class="code" href="edgeID_8h.html#a127c90056f6819ba5ae6eabe945e1c3d">00021</a> <span class="preprocessor">#define NO_SHARED_NODE -1</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00025"></a><a class="code" href="structEdgeID.html">00025</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structEdgeID.html">EdgeID</a> {
<a name="l00027"></a><a class="code" href="structEdgeID.html#ad0a60bb5219ecf307774cc4ff3208574">00027</a>         <span class="keywordtype">int</span> <a class="code" href="structEdgeID.html#ad0a60bb5219ecf307774cc4ff3208574">i</a>;
<a name="l00029"></a><a class="code" href="structEdgeID.html#a46a0fd39dee1352251d6d5877090bc6b">00029</a>         <span class="keywordtype">int</span> <a class="code" href="structEdgeID.html#a46a0fd39dee1352251d6d5877090bc6b">j</a>;
<a name="l00030"></a>00030 } <a class="code" href="edgeID_8h.html#a932712b65cb2dbbd54c994a0056c9421">EdgeID</a>;
<a name="l00032"></a><a class="code" href="edgeID_8h.html#a73a3d93dc3a3c49a3e5ec5ec758e309f">00032</a> <span class="keyword">typedef</span> <a class="code" href="structEdgeID.html">EdgeID</a>* <a class="code" href="edgeID_8h.html#a73a3d93dc3a3c49a3e5ec5ec758e309f">PedgeID</a>;
<a name="l00033"></a>00033 
<a name="l00038"></a>00038 <span class="keywordtype">void</span> <a class="code" href="edgeID_8h.html#ab2cbd7993ccb4900ac0352cdbda1163c">freeEdgeID</a>(<a class="code" href="structEdgeID.html">PedgeID</a> edge);
<a name="l00039"></a>00039 
<a name="l00048"></a>00048 <a class="code" href="structEdgeID.html">PedgeID</a> <a class="code" href="edgeID_8h.html#a77a0dff934516487753632893ec5a3ca">initEdgeID</a>(<span class="keywordtype">short</span> _start,<span class="keywordtype">short</span> _end);
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="edgeID_8h.html#aa52da7df1632191ef8e2f372b9b6b385">printEdgeID</a>(FILE* f, <a class="code" href="structEdgeID.html">PedgeID</a> e);
<a name="l00059"></a>00059 
<a name="l00068"></a>00068 <span class="keywordtype">bool</span> <a class="code" href="edgeID_8h.html#aa815c0263b2a9681750a5fda8c426727">equals</a>(<a class="code" href="structEdgeID.html">PedgeID</a> e1, <a class="code" href="structEdgeID.html">PedgeID</a> e2);
<a name="l00069"></a>00069 
<a name="l00084"></a>00084 <span class="keywordtype">bool</span> <a class="code" href="edgeID_8h.html#ac589c412a08baf058ff248347915077c">areConsecutive</a>(<a class="code" href="structEdgeID.html">PedgeID</a> e1, <a class="code" href="structEdgeID.html">PedgeID</a> e2);
<a name="l00085"></a>00085 
<a name="l00098"></a>00098 <span class="keywordtype">int</span> <a class="code" href="edgeID_8h.html#a2afada670c995b4150599c1bd59dcf73">getSharedNode</a>(<a class="code" href="structEdgeID.html">PedgeID</a> e1,<a class="code" href="structEdgeID.html">PedgeID</a> e2);
<a name="l00099"></a>00099 
<a name="l00109"></a>00109 <span class="keywordtype">bool</span> <a class="code" href="edgeID_8h.html#aba9b333504cf90d6d4211e6434500d00">isNodeUsedByEdgeID</a>(<a class="code" href="structEdgeID.html">PedgeID</a> e,<span class="keywordtype">int</span> node);
<a name="l00110"></a>00110 
<a name="l00122"></a>00122 <span class="keywordtype">void</span> <a class="code" href="edgeID_8h.html#a12a0e9b35c558cf175470e2100644338">validateEdgeID</a>(<a class="code" href="structEdgeID.html">PedgeID</a> e);
<a name="l00123"></a>00123 
<a name="l00134"></a>00134 <span class="keywordtype">int</span> <a class="code" href="edgeID_8h.html#a2d31b8fe1f149d8403eeecaf50be4354">getEdgeIDOtherNode</a>(<a class="code" href="structEdgeID.html">PedgeID</a> e,<span class="keywordtype">int</span> node);
<a name="l00135"></a>00135 
<a name="l00136"></a>00136 
<a name="l00137"></a>00137 <span class="preprocessor">#endif </span><span class="comment">/* EDGEID_H_ */</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="edgeID_8h.html">edgeID.h</a>      </li>

    <li class="footer">Generated on Thu Jun 27 2013 11:34:36 for UCARPP by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
